%
% iidefs.sty - pacote com definicoes do II/UFRGS
% $Id: iidefs.sty,v 4.3 2003/11/21 22:36:13 avila Exp $
%
% UFRGS TeX Users Group
% Institute of Informatics --- UFRGS
% Porto Alegre, Brazil
% http://gppd.inf.ufrgs.br/~avila/utug
% Discussion list: utug-l@inf.ufrgs.br
%
% Copyright (C) 2001,2003 UFRGS TeX Users Group
% This is free software, distributed under the GNU GPL; please take
% a look in `iiufrgs.cls' to see complete information on using, copying
% and redistributing these files
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{iidefs}
\RequirePackage{graphicx}
\RequirePackage{ifthen}

%
% definicoes de nomes
%
\def\ufrgs{Universidade Federal do Rio de Janeiro}
\def\ii{Instituto de Matem{\'a}tica}
\def\ppgc{Programa de P{\'o}s-Gradua{\c{c}}{\~a}o em Inform{\'a}tica}
\def\cgcc{Curso de Bacharelado em Ci{\^e}ncia da Computa{\c{c}}{\~a}o}
\def\cbcc{Curso de Bacharelado em Ci{\^e}ncia da Computa{\c{c}}{\~a}o}
\def\cgec{Curso de Gradua{\c{c}}{\~a}o em Engenharia de Computa{\c{c}}{\~a}o}
\def\deptINA{Departamento de Ci{\^e}ncia da Computa{\c{c}}{\~a}o}
\def\deptINT{Departamento de Inform{\'a}tica Te{\'o}rica}


%
% Importando APUD do abntcite.sty
%
\newcommand{\apudname}{apud}
\def\citeopen{(}
\def\citeclose{)}

\newcommand{\apud}[3][]{\citeopen\citeauthor{#2}, \citeyear{#2} \apudname\ %
\citeauthor{#3}, \citeyear{#3}%
\ifthenelse{\equal{#1}{\empty}}{}{, #1}\citeclose}
